www.gusucode.com > PHP展示型企业网站模板米拓整站源码 1.0PHP源码程序 > PHP展示型企业网站模板米拓整站源码 1.0/MetInfozs_v1.0/MetInfozs_v1.0/admin/app/wap/flashedit.php
<?php # MetInfo Enterprise Content Management System # Copyright (C) MetInfo Co.,Ltd (http://www.metinfo.cn). All rights reserved. $depth='../'; require_once $depth.'../login/login_check.php'; $flashrec1=$db->get_one("SELECT * FROM {$met_flash} where id='$id'"); $mtype=$met_flasharray[$module][type]; $flashmdtype=$flashrec1['img_path']!=''?1:2; $mtype=$flashmdtype==2?2:1; $flashmdtype1[$flashmdtype]='selected'; $qsql=$met_wap_ok?"and wap_ok='1'":'';//mobile $query="select * from $met_column where lang='$lang' and if_in='0' {$qsql} order by no_order"; $result= $db->query($query); while($list = $db->fetch_array($result)){ if(!$met_flasharray[$list[id]]){ $met_flasharray[$list[id]]=$met_flasharray[10000]; $name='flash_'.$list[id]; $value=$met_flasharray[10000]['wap_type'].'|'.$met_flasharray[10000]['wap_y']; $query = "INSERT INTO $met_config SET name = '$name', mobile_value = '$value', flashid = '$list[id]', lang = '$lang' "; $db->query($query); } } if($flashrec1['module']=='metinfo'){ $met_clumid_all1='checked'; }else{ $lmod = explode(',',$flashrec1['module']); for($i=0;$i<count($lmod);$i++){ if($lmod[$i]!='')$feditlist[$lmod[$i]]=1; } } foreach($met_flasharray as $key=>$val){ if($val['wap_type']==$flashmdtype){ if($key==10001){ $modclumlist[]=array('id'=>10001,'name'=>$lang_indexhome); }else{ $wpok = $met_wap_ok?($val[wap_ok]?1:0):1; if($wpok)$modclumlist[]=$met_class[$key]; } } } $i=1; foreach($modclumlist as $key=>$list){ if($list[classtype]==1 || $list['id']==10001){ $mod1[$i]=$list; $i++; } if($list[classtype]==2)$mod2[$list[bigclass]][]=$list; if($list[classtype]==3)$mod3[$list[bigclass]][]=$list; $mod[$list['id']]=$list; } $motop[2]='now'; $css_url=$depth."../templates/".$met_skin."/css"; $img_url=$depth."../templates/".$met_skin."/images"; include template('app/wap/flashedit'); footer(); # This program is an open source system, commercial use, please consciously to purchase commercial license. # Copyright (C) MetInfo Co., Ltd. (http://www.metinfo.cn). All rights reserved. ?>